package net.xdclass.xdclass_shiro.controller;

import net.xdclass.xdclass_shiro.dto.JsonData;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * 订单
 *
 * @author zhangsj
 * @date 2020/5/6 11:56
 */
@RestController
@RequestMapping("/authc")
public class OrdreController {

    @RequestMapping("/video/play_record")
    public JsonData fondMyPlayRecord() {
        Map<Object, Object> param = new HashMap<>(4);
        param.put("SpringBoot从入门到高级实战", "第8章第1集");
        param.put("SpringCloud从入门到高级实战", "第3章第4集");
        param.put("分布式从入门到高级实战", "第5章第1集");
        param.put("Shiro从入门到高级实战", "第6章第2集");

        return JsonData.buildSuccess(param);
    }

}
